package info.nixbear.tgcms.admin.shared.request;

import info.nixbear.tgcms.domain.Redirect;
import info.nixbear.tgcms.services.dao.EntityLocator;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.EntityProxyId;
import com.google.web.bindery.requestfactory.shared.ProxyFor;

@ProxyFor(value=Redirect.class,locator=EntityLocator.class)
public interface RedirectProxy extends EntityProxy {

	public Long getId();

	public Long getVersion();

	public void setVersion(Long version);

	public String getName();

	public void setName(String name);

	public String getFromUrl();

	public void setFromUrl(String from);

	public String getToUrl();

	public void setToUrl(String to);

	public String getCommentAsString();

	public void setCommentAsString(String htmlString);

	EntityProxyId<RedirectProxy> stableId();
	
}